package mmc.networking.data;

import java.io.IOException;

import mmc.cell.CellPosition;

@SuppressWarnings("serial")
public class ChunkUnload extends Update{
	public CellPosition pos;

	public ChunkUnload(CellPosition pos) {
		this.pos = pos;
	}
	
	private void writeObject(java.io.ObjectOutputStream out) throws IOException{
		out.writeUnshared(pos);
	}
 
	private void readObject(java.io.ObjectInputStream in) throws IOException, ClassNotFoundException{
		pos = (CellPosition) in.readObject();
	}
}
